<template>
    <div>
      <el-container>
        <el-header class="el-header">小U商城后台管理系统</el-header>
        <el-container>
          <el-aside width="220px">
              <v-nav></v-nav>
          </el-aside>
          <el-main>
              <router-view></router-view>
          </el-main>
        </el-container>
      </el-container>
    </div>
  </template>
  
  <script>
  //引入局部组件
  import vNav from '../components/vNav'
  export default {
    data() {
      return {};
    },
    components:{
      vNav
    }
  };
  </script>
  
  <style lang="less" scoped>
  .el-header {
    background: #ccc;
    text-align: center;
  }
  </style>
  